﻿using GalaSoft.MvvmLight.Messaging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace PremisPublisher.Messages
{

    /* 窗体消息通信定制消息集合  */

    public class ShowCryptWindowMessage : MessageBase { public string Message { get; set; } }
    public class HideCryptWindowMessage : MessageBase { public string Message { get; set; } }
    public class ShowFolderChoosenMessage : MessageBase { public string Message { get; set; } }
    public class DelFolderChoosenMessage : MessageBase { public string Message { get; set; } }
    public class ClearUserDomainsMessage : MessageBase { }
    public class GetSQLContentMessage : MessageBase { public string Message { get; set; } }
    public class ShowMessageDialogMessage : MessageBase { public string Message { get; set; } }
    public class EditSQLContentMessage : MessageBase
    {
        public string Title { get; set; }
        public string Content { get; set; }
    }

    public class UploadResultMessage : MessageBase
    {
        public string Code { get; set; }
        public string Message { get; set; }
    }

    public class ShowPublishLogWindowMessage : MessageBase { public string Message { get; set; } }
    public class PublishLogMessage : MessageBase { public string Message { get; set; } }
    public class HidePublishLogWindowMessage : MessageBase { }
    public class PublishDoneWindowMessage : MessageBase { public string Message { get; set; } }


    public class SetMainWindowTitleMessage : MessageBase { public string Message { get; set; } }
    public class SetLogCurrentOperationMessage : MessageBase { public string Message { get; set; } }

    public class ShowWindow : MessageBase
    {
        public Window WindowWillShow { get; set; }
    }
}
